//
//  NSData+PYUploader.h
//  IHome
//
//  Created by Jim on 2019/3/23.
//  Copyright © 2019 com.zhujizheng. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSData (PYUploader)

/**
 上传到七牛云

 @param progress 上传进度
 @param completion 上传回调
 */
- (void)uploadToQiniu:(nullable void (^)(float percent))progress
                       completion:(void (^)(NSString *urlString))completion;

@end

NS_ASSUME_NONNULL_END
